package com.ljw.gulimall.search.feign;

import com.ljw.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "gulimall-product")
public interface ProductFeignService {

    @GetMapping("product/attr/info/{attrId}")
    public R info(@PathVariable("attrId") Long attrId);

}
